<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">

    <p:outputPanel id="panelValidacionesJS" autoUpdate="true">
        <script type="text/javascript">
            $(document).ready(function() {
                $(".validaRut").Rut({
                    format_on: 'keyup'
                });
            });
        </script>
    </p:outputPanel>
    
</ui:composition>